package com.azunitech.intercpt.ejb;

import javax.interceptor.AroundInvoke;
import javax.interceptor.InvocationContext;

import org.apache.log4j.Logger;

public class TestInterceptor1 {
	private static Logger logger = Logger.getLogger(TestInterceptor1.class);
	
	@AroundInvoke
	public Object context(InvocationContext ic) throws Exception {
		 try {
			 logger.info("This is called");
			 return ic.proceed();
		 }
		 finally{
			 
		 }
	}
}
